<?php
namespace Transform;

class ShopTransform extends Transform
{
    public function listview()
    {
        return [
            'allows' => ['shop_id', 'user_id', 'shop_name', 'photo', 'tel', 'is_official', 'create_time', 'addr', 'express_fee'],
        ];
    }

    public function detail()
    {
        return [
            'allows' => ['shop_id', 'user_id', 'shop_name', 'photo', 'tel', 'is_official', 'create_time', 'addr', 'express_fee', 'qq'],
        ];
    }


}
